package com.geline.demo.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.geline.easyexcel.annotation.ExcelExportList;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 统计报表 - 全省违法建设治理统计
 *
 * @author: mengxin
 * @date: 2024/1/29 17:56
 */
@ExcelExportList(value = "illegalStatistics", templateFile = "file:excel/IllegalStatistics.xlsx")
@Getter
@Setter
public class IllegalStatisticsVO implements Serializable {

    //所属地市
    @Schema(description = "所属地市")
    @ExcelProperty(index = 0)
    private String xzqhdmLabel;
    //统计时间
    @Schema(description = "统计时间")
    @ExcelProperty(index = 1)
    private String month;
    //治理量（万m²）
    @Schema(description = "治理量（万m²）")
    @ExcelProperty(index = 2)
    private BigDecimal byzll;
    //其中拆除 （万m²）
    @Schema(description = "其中拆除 （万m²）")
    @ExcelProperty(index = 3)
    private BigDecimal byccl;
    //治理量（万m²）
    @Schema(description = "治理量（万m²）")
    @ExcelProperty(index = 4)
    private BigDecimal dnzll;
    //其中拆除 （万m²）
    @Schema(description = "其中拆除 （万m²）")
    @ExcelProperty(index = 5)
    private BigDecimal dnccl;
    //年治理目标（万m²）
    @Schema(description = "年治理目标（万m²）")
    @ExcelProperty(index = 6)
    private BigDecimal bnzlmb;
    //年治理进度，写入自动计算公式
    @Schema(description = "年治理进度")
    @ExcelProperty(index = 7, format = "100*E{rowIndex}/F{rowIndex}")
    private String bnzljd;
}
